function showTime() {
	var myDate = new Date();
	var showDate = "" + myDate.getFullYear() + "年";
	showDate += (myDate.getMonth() + 1) + "月";
	showDate += myDate.getDate() + "日";
	showDate += "  星期";
	if (myDate.getDay() == 0) {
		showDate += "日";
	} else if (myDate.getDay() == 1) {
		showDate += "一";
	} else if (myDate.getDay() == 2) {
		showDate += "二";
	} else if (myDate.getDay() == 3) {
		showDate += "三";
	} else if (myDate.getDay() == 4) {
		showDate += "四";
	} else if (myDate.getDay() == 5) {
		showDate += "五";
	} else if (myDate.getDay() == 6) {
		showDate += "六";
	}

	$(".menu_time").html("当前时间是：" + showDate);
}

function send(){
	var content = $(".menu_input").val();
	if(!content){
			alert("请输入查询内容！");
			return;
		}
}

$(function() {
	$(".menu_left ul li").click(function() {
		var li = $(this);
	    var basePath = li.parent().attr("basepath");
		var values = li.val();
		li.css({
			color:'white',
			background: "url("+basePath +"resources/img/yao/bg_li01.png)",
			
		});
		$(".menu_left ul li").not(li).css({
			color:'#00486a',
			background: "url("+basePath +"resources/img/yao/bg_li02.png)",
			
		});
		if (values != null) {
			if (1 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/shouyemessage.jsp');
			} else if (2 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/transfer_info.html');
			} else if (3 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/transfer_info.html');
				
			} else if (4 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/transfer_info.html');
				
			} else if (5 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/transfer_info.html');
			} else if (6 == values) {
				$("#menu_right iframe").attr('src',basePath + 'html/transfer_info.html');
			}
		} else {
			
		}
	});

});
